(function(e,t){typeof exports==="object"&&typeof module!=="undefined"?t(exports,require("jquery")):typeof define==="function"&&define.amd?define(["exports","jquery"],t):t(e.bootstrap={},e.jQuery)})(this,function(e,t){"use strict";t=t&&t.hasOwnProperty("default")?t["default"]:t;function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function r(e,t,r){if(t)n(e.prototype,t);if(r)n(e,r);return e}function i(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};var r=Object.keys(n);if(typeof Object.getOwnPropertySymbols==="function"){r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))}r.forEach(function(t){i(e,t,n[t])})}return e}function a(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var s=function(e){var t="transitionend";var n=1e6;var r=1e3;function i(e){return{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()}function o(){return{bindType:t,delegateType:t,handle:function t(n){if(e(n.target).is(this)){return n.handleObj.handler.apply(this,arguments)}return undefined}}}function a(t){var n=this;var r=false;e(this).one(l.TRANSITION_END,function(){r=true});setTimeout(function(){if(!r){l.triggerTransitionEnd(n)}},t);return this}function s(){e.fn.emulateTransitionEnd=a;e.event.special[l.TRANSITION_END]=o()}var l={TRANSITION_END:"bsTransitionEnd",getUID:function e(t){do{t+=~~(Math.random()*n)}while(document.getElementById(t));return t},getSelectorFromElement:function e(t){var n=t.getAttribute("data-target");if(!n||n==="#"){n=t.getAttribute("href")||""}try{return document.querySelector(n)?n:null}catch(e){return null}},getTransitionDurationFromElement:function t(n){if(!n){return 0}var i=e(n).css("transition-duration");var o=parseFloat(i);if(!o){return 0}i=i.split(",")[0];return parseFloat(i)*r},reflow:function e(t){return t.offsetHeight},triggerTransitionEnd:function n(r){e(r).trigger(t)},supportsTransitionEnd:function e(){return Boolean(t)},isElement:function e(t){return(t[0]||t).nodeType},typeCheckConfig:function e(t,n,r){for(var o in r){if(Object.prototype.hasOwnProperty.call(r,o)){var a=r[o];var s=n[o];var f=s&&l.isElement(s)?"element":i(s);if(!new RegExp(a).test(f)){throw new Error(t.toUpperCase()+": "+('Option "'+o+'" provided type "'+f+'" ')+('but expected type "'+a+'".'))}}}}};s();return l}(t);var l=function(e){var t="alert";var n="4.1.3";var i="bs.alert";var o="."+i;var a=".data-api";var l=e.fn[t];var f={DISMISS:'[data-dismiss="alert"]'};var u={CLOSE:"close"+o,CLOSED:"closed"+o,CLICK_DATA_API:"click"+o+a};var c={ALERT:"alert",FADE:"fade",SHOW:"show"};var h=function(){function t(e){this._element=e}var o=t.prototype;o.close=function e(t){var n=this._element;if(t){n=this._getRootElement(t)}var r=this._triggerCloseEvent(n);if(r.isDefaultPrevented()){return}this._removeElement(n)};o.dispose=function t(){e.removeData(this._element,i);this._element=null};o._getRootElement=function t(n){var r=s.getSelectorFromElement(n);var i=false;if(r){i=document.querySelector(r)}if(!i){i=e(n).closest("."+c.ALERT)[0]}return i};o._triggerCloseEvent=function t(n){var r=e.Event(u.CLOSE);e(n).trigger(r);return r};o._removeElement=function t(n){var r=this;e(n).removeClass(c.SHOW);if(!e(n).hasClass(c.FADE)){this._destroyElement(n);return}var i=s.getTransitionDurationFromElement(n);e(n).one(s.TRANSITION_END,function(e){return r._destroyElement(n,e)}).emulateTransitionEnd(i)};o._destroyElement=function t(n){e(n).detach().trigger(u.CLOSED).remove()};t._jQueryInterface=function n(r){return this.each(function(){var n=e(this);var o=n.data(i);if(!o){o=new t(this);n.data(i,o)}if(r==="close"){o[r](this)}})};t._handleDismiss=function e(t){return function(e){if(e){e.preventDefault()}t.close(this)}};r(t,null,[{key:"VERSION",get:function e(){return n}}]);return t}();e(document).on(u.CLICK_DATA_API,f.DISMISS,h._handleDismiss(new h));e.fn[t]=h._jQueryInterface;e.fn[t].Constructor=h;e.fn[t].noConflict=function(){e.fn[t]=l;return h._jQueryInterface};return h}(t);var f=function(e){var t="button";var n="4.1.3";var i="bs.button";var o="."+i;var a=".data-api";var s=e.fn[t];var l={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"};var f={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"};var u={CLICK_DATA_API:"click"+o+a,FOCUS_BLUR_DATA_API:"focus"+o+a+" "+("blur"+o+a)};var c=function(){function t(e){this._element=e}var o=t.prototype;o.toggle=function t(){var n=true;var r=true;var i=e(this._element).closest(f.DATA_TOGGLE)[0];if(i){var o=this._element.querySelector(f.INPUT);if(o){if(o.type==="radio"){if(o.checked&&this._element.classList.contains(l.ACTIVE)){n=false}else{var a=i.querySelector(f.ACTIVE);if(a){e(a).removeClass(l.ACTIVE)}}}if(n){if(o.hasAttribute("disabled")||i.hasAttribute("disabled")||o.classList.contains("disabled")||i.classList.contains("disabled")){return}o.checked=!this._element.classList.contains(l.ACTIVE);e(o).trigger("change")}o.focus();r=false}}if(r){this._element.setAttribute("aria-pressed",!this._element.classList.contains(l.ACTIVE))}if(n){e(this._element).toggleClass(l.ACTIVE)}};o.dispose=function t(){e.removeData(this._element,i);this._element=null};t._jQueryInterface=function n(r){return this.each(function(){var n=e(this).data(i);if(!n){n=new t(this);e(this).data(i,n)}if(r==="toggle"){n[r]()}})};r(t,null,[{key:"VERSION",get:function e(){return n}}]);return t}();e(document).on(u.CLICK_DATA_API,f.DATA_TOGGLE_CARROT,function(t){t.preventDefault();var n=t.target;if(!e(n).hasClass(l.BUTTON)){n=e(n).closest(f.BUTTON)}c._jQueryInterface.call(e(n),"toggle")}).on(u.FOCUS_BLUR_DATA_API,f.DATA_TOGGLE_CARROT,function(t){var n=e(t.target).closest(f.BUTTON)[0];e(n).toggleClass(l.FOCUS,/^focus(in)?$/.test(t.type))});e.fn[t]=c._jQueryInterface;e.fn[t].Constructor=c;e.fn[t].noConflict=function(){e.fn[t]=s;return c._jQueryInterface};return c}(t);var u=function(e){var t="carousel";var n="4.1.3";var i="bs.carousel";var a="."+i;var l=".data-api";var f=e.fn[t];var u=37;var c=39;var h=500;var d={interval:5e3,keyboard:true,slide:false,pause:"hover",wrap:true};var p={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"};var v={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"};var m={SLIDE:"slide"+a,SLID:"slid"+a,KEYDOWN:"keydown"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a,TOUCHEND:"touchend"+a,LOAD_DATA_API:"load"+a+l,CLICK_DATA_API:"click"+a+l};var g={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item"};var _={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'};var E=function(){function l(t,n){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=false;this._isSliding=false;this.touchTimeout=null;this._config=this._getConfig(n);this._element=e(t)[0];this._indicatorsElement=this._element.querySelector(_.INDICATORS);this._addEventListeners()}var f=l.prototype;f.next=function e(){if(!this._isSliding){this._slide(v.NEXT)}};f.nextWhenVisible=function t(){if(!document.hidden&&e(this._element).is(":visible")&&e(this._element).css("visibility")!=="hidden"){this.next()}};f.prev=function e(){if(!this._isSliding){this._slide(v.PREV)}};f.pause=function e(t){if(!t){this._isPaused=true}if(this._element.querySelector(_.NEXT_PREV)){s.triggerTransitionEnd(this._element);this.cycle(true)}clearInterval(this._interval);this._interval=null};f.cycle=function e(t){if(!t){this._isPaused=false}if(this._interval){clearInterval(this._interval);this._interval=null}if(this._config.interval&&!this._isPaused){this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval)}};f.to=function t(n){var r=this;this._activeElement=this._element.querySelector(_.ACTIVE_ITEM);var i=this._getItemIndex(this._activeElement);if(n>this._items.length-1||n<0){return}if(this._isSliding){e(this._element).one(m.SLID,function(){return r.to(n)});return}if(i===n){this.pause();this.cycle();return}var o=n>i?v.NEXT:v.PREV;this._slide(o,this._items[n])};f.dispose=function t(){e(this._element).off(a);e.removeData(this._element,i);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null};f._getConfig=function e(n){n=o({},d,n);s.typeCheckConfig(t,n,p);return n};f._addEventListeners=function t(){var n=this;if(this._config.keyboard){e(this._element).on(m.KEYDOWN,function(e){return n._keydown(e)})}if(this._config.pause==="hover"){e(this._element).on(m.MOUSEENTER,function(e){return n.pause(e)}).on(m.MOUSELEAVE,function(e){return n.cycle(e)});if("ontouchstart"in document.documentElement){e(this._element).on(m.TOUCHEND,function(){n.pause();if(n.touchTimeout){clearTimeout(n.touchTimeout)}n.touchTimeout=setTimeout(function(e){return n.cycle(e)},h+n._config.interval)})}}};f._keydown=function e(t){if(/input|textarea/i.test(t.target.tagName)){return}switch(t.which){case u:t.preventDefault();this.prev();break;case c:t.preventDefault();this.next();break;default:}};f._getItemIndex=function e(t){this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(_.ITEM)):[];return this._items.indexOf(t)};f._getItemByDirection=function e(t,n){var r=t===v.NEXT;var i=t===v.PREV;var o=this._getItemIndex(n);var a=this._items.length-1;var s=i&&o===0||r&&o===a;if(s&&!this._config.wrap){return n}var l=t===v.PREV?-1:1;var f=(o+l)%this._items.length;return f===-1?this._items[this._items.length-1]:this._items[f]};f._triggerSlideEvent=function t(n,r){var i=this._getItemIndex(n);var o=this._getItemIndex(this._element.querySelector(_.ACTIVE_ITEM));var a=e.Event(m.SLIDE,{relatedTarget:n,direction:r,from:o,to:i});e(this._element).trigger(a);return a};f._setActiveIndicatorElement=function t(n){if(this._indicatorsElement){var r=[].slice.call(this._indicatorsElement.querySelectorAll(_.ACTIVE));e(r).removeClass(g.ACTIVE);var i=this._indicatorsElement.children[this._getItemIndex(n)];if(i){e(i).addClass(g.ACTIVE)}}};f._slide=function t(n,r){var i=this;var o=this._element.querySelector(_.ACTIVE_ITEM);var a=this._getItemIndex(o);var l=r||o&&this._getItemByDirection(n,o);var f=this._getItemIndex(l);var u=Boolean(this._interval);var c;var h;var d;if(n===v.NEXT){c=g.LEFT;h=g.NEXT;d=v.LEFT}else{c=g.RIGHT;h=g.PREV;d=v.RIGHT}if(l&&e(l).hasClass(g.ACTIVE)){this._isSliding=false;return}var p=this._triggerSlideEvent(l,d);if(p.isDefaultPrevented()){return}if(!o||!l){return}this._isSliding=true;if(u){this.pause()}this._setActiveIndicatorElement(l);var E=e.Event(m.SLID,{relatedTarget:l,direction:d,from:a,to:f});if(e(this._element).hasClass(g.SLIDE)){e(l).addClass(h);s.reflow(l);e(o).addClass(c);e(l).addClass(c);var T=s.getTransitionDurationFromElement(o);e(o).one(s.TRANSITION_END,function(){e(l).removeClass(c+" "+h).addClass(g.ACTIVE);e(o).removeClass(g.ACTIVE+" "+h+" "+c);i._isSliding=false;setTimeout(function(){return e(i._element).trigger(E)},0)}).emulateTransitionEnd(T)}else{e(o).removeClass(g.ACTIVE);e(l).addClass(g.ACTIVE);this._isSliding=false;e(this._element).trigger(E)}if(u){this.cycle()}};l._jQueryInterface=function t(n){return this.each(function(){var t=e(this).data(i);var r=o({},d,e(this).data());if(typeof n==="object"){r=o({},r,n)}var a=typeof n==="string"?n:r.slide;if(!t){t=new l(this,r);e(this).data(i,t)}if(typeof n==="number"){t.to(n)}else if(typeof a==="string"){if(typeof t[a]==="undefined"){throw new TypeError('No method named "'+a+'"')}t[a]()}else if(r.interval){t.pause();t.cycle()}})};l._dataApiClickHandler=function t(n){var r=s.getSelectorFromElement(this);if(!r){return}var a=e(r)[0];if(!a||!e(a).hasClass(g.CAROUSEL)){return}var f=o({},e(a).data(),e(this).data());var u=this.getAttribute("data-slide-to");if(u){f.interval=false}l._jQueryInterface.call(e(a),f);if(u){e(a).data(i).to(u)}n.preventDefault()};r(l,null,[{key:"VERSION",get:function e(){return n}},{key:"Default",get:function e(){return d}}]);return l}();e(document).on(m.CLICK_DATA_API,_.DATA_SLIDE,E._dataApiClickHandler);e(window).on(m.LOAD_DATA_API,function(){var t=[].slice.call(document.querySelectorAll(_.DATA_RIDE));for(var n=0,r=t.length;n<r;n++){var i=e(t[n]);E._jQueryInterface.call(i,i.data())}});e.fn[t]=E._jQueryInterface;e.fn[t].Constructor=E;e.fn[t].noConflict=function(){e.fn[t]=f;return E._jQueryInterface};return E}(t);var c=function(e){var t="collapse";var n="4.1.3";var i="bs.collapse";var a="."+i;var l=".data-api";var f=e.fn[t];var u={toggle:true,parent:""};var c={toggle:"boolean",parent:"(string|element)"};var h={SHOW:"show"+a,SHOWN:"shown"+a,HIDE:"hide"+a,HIDDEN:"hidden"+a,CLICK_DATA_API:"click"+a+l};var d={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"};var p={WIDTH:"width",HEIGHT:"height"};var v={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'};var m=function(){function a(t,n){this._isTransitioning=false;this._element=t;this._config=this._getConfig(n);this._triggerArray=e.makeArray(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],'+('[data-toggle="collapse"][data-target="#'+t.id+'"]')));var r=[].slice.call(document.querySelectorAll(v.DATA_TOGGLE));for(var i=0,o=r.length;i<o;i++){var a=r[i];var l=s.getSelectorFromElement(a);var f=[].slice.call(document.querySelectorAll(l)).filter(function(e){return e===t});if(l!==null&&f.length>0){this._selector=l;this._triggerArray.push(a)}}this._parent=this._config.parent?this._getParent():null;if(!this._config.parent){this._addAriaAndCollapsedClass(this._element,this._triggerArray)}if(this._config.toggle){this.toggle()}}var l=a.prototype;l.toggle=function t(){if(e(this._element).hasClass(d.SHOW)){this.hide()}else{this.show()}};l.show=function t(){var n=this;if(this._isTransitioning||e(this._element).hasClass(d.SHOW)){return}var r;var o;if(this._parent){r=[].slice.call(this._parent.querySelectorAll(v.ACTIVES)).filter(function(e){return e.getAttribute("data-parent")===n._config.parent});if(r.length===0){r=null}}if(r){o=e(r).not(this._selector).data(i);if(o&&o._isTransitioning){return}}var l=e.Event(h.SHOW);e(this._element).trigger(l);if(l.isDefaultPrevented()){return}if(r){a._jQueryInterface.call(e(r).not(this._selector),"hide");if(!o){e(r).data(i,null)}}var f=this._getDimension();e(this._element).removeClass(d.COLLAPSE).addClass(d.COLLAPSING);this._element.style[f]=0;if(this._triggerArray.length){e(this._triggerArray).removeClass(d.COLLAPSED).attr("aria-expanded",true)}this.setTransitioning(true);var u=function t(){e(n._element).removeClass(d.COLLAPSING).addClass(d.COLLAPSE).addClass(d.SHOW);n._element.style[f]="";n.setTransitioning(false);e(n._element).trigger(h.SHOWN)};var c=f[0].toUpperCase()+f.slice(1);var p="scroll"+c;var m=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,u).emulateTransitionEnd(m);this._element.style[f]=this._element[p]+"px"};l.hide=function t(){var n=this;if(this._isTransitioning||!e(this._element).hasClass(d.SHOW)){return}var r=e.Event(h.HIDE);e(this._element).trigger(r);if(r.isDefaultPrevented()){return}var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px";s.reflow(this._element);e(this._element).addClass(d.COLLAPSING).removeClass(d.COLLAPSE).removeClass(d.SHOW);var o=this._triggerArray.length;if(o>0){for(var a=0;a<o;a++){var l=this._triggerArray[a];var f=s.getSelectorFromElement(l);if(f!==null){var u=e([].slice.call(document.querySelectorAll(f)));if(!u.hasClass(d.SHOW)){e(l).addClass(d.COLLAPSED).attr("aria-expanded",false)}}}}this.setTransitioning(true);var c=function t(){n.setTransitioning(false);e(n._element).removeClass(d.COLLAPSING).addClass(d.COLLAPSE).trigger(h.HIDDEN)};this._element.style[i]="";var p=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,c).emulateTransitionEnd(p)};l.setTransitioning=function e(t){this._isTransitioning=t};l.dispose=function t(){e.removeData(this._element,i);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null};l._getConfig=function e(n){n=o({},u,n);n.toggle=Boolean(n.toggle);s.typeCheckConfig(t,n,c);return n};l._getDimension=function t(){var n=e(this._element).hasClass(p.WIDTH);return n?p.WIDTH:p.HEIGHT};l._getParent=function t(){var n=this;var r=null;if(s.isElement(this._config.parent)){r=this._config.parent;if(typeof this._config.parent.jquery!=="undefined"){r=this._config.parent[0]}}else{r=document.querySelector(this._config.parent)}var i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';var o=[].slice.call(r.querySelectorAll(i));e(o).each(function(e,t){n._addAriaAndCollapsedClass(a._getTargetFromElement(t),[t])});return r};l._addAriaAndCollapsedClass=function t(n,r){if(n){var i=e(n).hasClass(d.SHOW);if(r.length){e(r).toggleClass(d.COLLAPSED,!i).attr("aria-expanded",i)}}};a._getTargetFromElement=function e(t){var n=s.getSelectorFromElement(t);return n?document.querySelector(n):null};a._jQueryInterface=function t(n){return this.each(function(){var t=e(this);var r=t.data(i);var s=o({},u,t.data(),typeof n==="object"&&n?n:{});if(!r&&s.toggle&&/show|hide/.test(n)){s.toggle=false}if(!r){r=new a(this,s);t.data(i,r)}if(typeof n==="string"){if(typeof r[n]==="undefined"){throw new TypeError('No method named "'+n+'"')}r[n]()}})};r(a,null,[{key:"VERSION",get:function e(){return n}},{key:"Default",get:function e(){return u}}]);return a}();e(document).on(h.CLICK_DATA_API,v.DATA_TOGGLE,function(t){if(t.currentTarget.tagName==="A"){t.preventDefault()}var n=e(this);var r=s.getSelectorFromElement(this);var o=[].slice.call(document.querySelectorAll(r));e(o).each(function(){var t=e(this);var r=t.data(i);var o=r?"toggle":n.data();m._jQueryInterface.call(t,o)})});e.fn[t]=m._jQueryInterface;e.fn[t].Constructor=m;e.fn[t].noConflict=function(){e.fn[t]=f;return m._jQueryInterface};return m}(t);var h=typeof window!=="undefined"&&typeof document!=="undefined";var d=["Edge","Trident","Firefox"];var p=0;for(var v=0;v<d.length;v+=1){if(h&&navigator.userAgent.indexOf(d[v])>=0){p=1;break}}function m(e){var t=false;return function(){if(t){return}t=true;window.Promise.resolve().then(function(){t=false;e()})}}function g(e){var t=false;return function(){if(!t){t=true;setTimeout(function(){t=false;e()},p)}}}var _=h&&window.Promise;var E=_?m:g;function T(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function y(e,t){if(e.nodeType!==1){return[]}var n=getComputedStyle(e,null);return t?n[t]:n}function A(e){if(e.nodeName==="HTML"){return e}return e.parentNode||e.host}function C(e){if(!e){return document.body}switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=y(e),n=t.overflow,r=t.overflowX,i=t.overflowY;if(/(auto|scroll|overlay)/.test(n+i+r)){return e}return C(A(e))}var I=h&&!!(window.MSInputMethodContext&&document.documentMode);var S=h&&/MSIE 10/.test(navigator.userAgent);function O(e){if(e===11){return I}if(e===10){return S}return I||S}function b(e){if(!e){return document.documentElement}var t=O(10)?document.body:null;var n=e.offsetParent;while(n===t&&e.nextElementSibling){n=(e=e.nextElementSibling).offsetParent}var r=n&&n.nodeName;if(!r||r==="BODY"||r==="HTML"){return e?e.ownerDocument.documentElement:document.documentElement}if(["TD","TABLE"].indexOf(n.nodeName)!==-1&&y(n,"position")==="static"){return b(n)}return n}function D(e){var t=e.nodeName;if(t==="BODY"){return false}return t==="HTML"||b(e.firstElementChild)===e}function w(e){if(e.parentNode!==null){return w(e.parentNode)}return e}function N(e,t){if(!e||!e.nodeType||!t||!t.nodeType){return document.documentElement}var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING;var r=n?e:t;var i=n?t:e;var o=document.createRange();o.setStart(r,0);o.setEnd(i,0);var a=o.commonAncestorContainer;if(e!==a&&t!==a||r.contains(i)){if(D(a)){return a}return b(a)}var s=w(e);if(s.host){return N(s.host,t)}else{return N(e,w(t).host)}}function L(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"top";var n=t==="top"?"scrollTop":"scrollLeft";var r=e.nodeName;if(r==="BODY"||r==="HTML"){var i=e.ownerDocument.documentElement;var o=e.ownerDocument.scrollingElement||i;return o[n]}return e[n]}function P(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var r=L(t,"top");var i=L(t,"left");var o=n?-1:1;e.top+=r*o;e.bottom+=r*o;e.left+=i*o;e.right+=i*o;return e}function R(e,t){var n=t==="x"?"Left":"Top";var r=n==="Left"?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function H(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],O(10)?n["offset"+e]+r["margin"+(e==="Height"?"Top":"Left")]+r["margin"+(e==="Height"?"Bottom":"Right")]:0)}function k(){var e=document.body;var t=document.documentElement;var n=O(10)&&getComputedStyle(t);return{height:H("Height",e,t,n),width:H("Width",e,t,n)}}var W=function(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}};var F=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}return function(t,n,r){if(n)e(t.prototype,n);if(r)e(t,r);return t}}();var M=function(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e};var x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n){if(Object.prototype.hasOwnProperty.call(n,r)){e[r]=n[r]}}}return e};function U(e){return x({},e,{right:e.left+e.width,bottom:e.top+e.height})}function V(e){var t={};try{if(O(10)){t=e.getBoundingClientRect();var n=L(e,"top");var r=L(e,"left");t.top+=n;t.left+=r;t.bottom+=n;t.right+=r}else{t=e.getBoundingClientRect()}}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top};var o=e.nodeName==="HTML"?k():{};var a=o.width||e.clientWidth||i.right-i.left;var s=o.height||e.clientHeight||i.bottom-i.top;var l=e.offsetWidth-a;var f=e.offsetHeight-s;if(l||f){var u=y(e);l-=R(u,"x");f-=R(u,"y");i.width-=l;i.height-=f}return U(i)}function j(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var r=O(10);var i=t.nodeName==="HTML";var o=V(e);var a=V(t);var s=C(e);var l=y(t);var f=parseFloat(l.borderTopWidth,10);var u=parseFloat(l.borderLeftWidth,10);if(n&&t.nodeName==="HTML"){a.top=Math.max(a.top,0);a.left=Math.max(a.left,0)}var c=U({top:o.top-a.top-f,left:o.left-a.left-u,width:o.width,height:o.height});c.marginTop=0;c.marginLeft=0;if(!r&&i){var h=parseFloat(l.marginTop,10);var d=parseFloat(l.marginLeft,10);c.top-=f-h;c.bottom-=f-h;c.left-=u-d;c.right-=u-d;c.marginTop=h;c.marginLeft=d}if(r&&!n?t.contains(s):t===s&&s.nodeName!=="BODY"){c=P(c,t)}return c}function B(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var n=e.ownerDocument.documentElement;var r=j(e,n);var i=Math.max(n.clientWidth,window.innerWidth||0);var o=Math.max(n.clientHeight,window.innerHeight||0);var a=!t?L(n):0;var s=!t?L(n,"left"):0;var l={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o};return U(l)}function G(e){var t=e.nodeName;if(t==="BODY"||t==="HTML"){return false}if(y(e,"position")==="fixed"){return true}return G(A(e))}function K(e){if(!e||!e.parentElement||O()){return document.documentElement}var t=e.parentElement;while(t&&y(t,"transform")==="none"){t=t.parentElement}return t||document.documentElement}function q(e,t,n,r){var i=arguments.length>4&&arguments[4]!==undefined?arguments[4]:false;var o={top:0,left:0};var a=i?K(e):N(e,t);if(r==="viewport"){o=B(a,i)}else{var s=void 0;if(r==="scrollParent"){s=C(A(t));if(s.nodeName==="BODY"){s=e.ownerDocument.documentElement}}else if(r==="window"){s=e.ownerDocument.documentElement}else{s=r}var l=j(s,a,i);if(s.nodeName==="HTML"&&!G(a)){var f=k(),u=f.height,c=f.width;o.top+=l.top-l.marginTop;o.bottom=u+l.top;o.left+=l.left-l.marginLeft;o.right=c+l.left}else{o=l}}o.left+=n;o.top+=n;o.right-=n;o.bottom-=n;return o}function Q(e){var t=e.width,n=e.height;return t*n}function Y(e,t,n,r,i){var o=arguments.length>5&&arguments[5]!==undefined?arguments[5]:0;if(e.indexOf("auto")===-1){return e}var a=q(n,r,o,i);var s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}};var l=Object.keys(s).map(function(e){return x({key:e},s[e],{area:Q(s[e])})}).sort(function(e,t){return t.area-e.area});var f=l.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight});var u=f.length>0?f[0].key:l[0].key;var c=e.split("-")[1];return u+(c?"-"+c:"")}function X(e,t,n){var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null;var i=r?K(t):N(t,n);return j(n,i,r)}function z(e){var t=getComputedStyle(e);var n=parseFloat(t.marginTop)+parseFloat(t.marginBottom);var r=parseFloat(t.marginLeft)+parseFloat(t.marginRight);var i={width:e.offsetWidth+r,height:e.offsetHeight+n};return i}function J(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function Z(e,t,n){n=n.split("-")[0];var r=z(e);var i={width:r.width,height:r.height};var o=["right","left"].indexOf(n)!==-1;var a=o?"top":"left";var s=o?"left":"top";var l=o?"height":"width";var f=!o?"height":"width";i[a]=t[a]+t[l]/2-r[l]/2;if(n===s){i[s]=t[s]-r[f]}else{i[s]=t[J(s)]}return i}function $(e,t){if(Array.prototype.find){return e.find(t)}return e.filter(t)[0]}function ee(e,t,n){if(Array.prototype.findIndex){return e.findIndex(function(e){return e[t]===n})}var r=$(e,function(e){return e[t]===n});return e.indexOf(r)}function te(e,t,n){var r=n===undefined?e:e.slice(0,ee(e,"name",n));r.forEach(function(e){if(e["function"]){console.warn("`modifier.function` is deprecated, use `modifier.fn`!")}var n=e["function"]||e.fn;if(e.enabled&&T(n)){t.offsets.popper=U(t.offsets.popper);t.offsets.reference=U(t.offsets.reference);t=n(t,e)}});return t}function ne(){if(this.state.isDestroyed){return}var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:false,offsets:{}};e.offsets.reference=X(this.state,this.popper,this.reference,this.options.positionFixed);e.placement=Y(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding);e.originalPlacement=e.placement;e.positionFixed=this.options.positionFixed;e.offsets.popper=Z(this.popper,e.offsets.reference,e.placement);e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute";e=te(this.modifiers,e);if(!this.state.isCreated){this.state.isCreated=true;this.options.onCreate(e)}else{this.options.onUpdate(e)}}function re(e,t){return e.some(function(e){var n=e.name,r=e.enabled;return r&&n===t})}function ie(e){var t=[false,"ms","Webkit","Moz","O"];var n=e.charAt(0).toUpperCase()+e.slice(1);for(var r=0;r<t.length;r++){var i=t[r];var o=i?""+i+n:e;if(typeof document.body.style[o]!=="undefined"){return o}}return null}function oe(){this.state.isDestroyed=true;if(re(this.modifiers,"applyStyle")){this.popper.removeAttribute("x-placement");this.popper.style.position="";this.popper.style.top="";this.popper.style.left="";this.popper.style.right="";this.popper.style.bottom="";this.popper.style.willChange="";this.popper.style[ie("transform")]=""}this.disableEventListeners();if(this.options.removeOnDestroy){this.popper.parentNode.removeChild(this.popper)}return this}function ae(e){var t=e.ownerDocument;return t?t.defaultView:window}function se(e,t,n,r){var i=e.nodeName==="BODY";var o=i?e.ownerDocument.defaultView:e;o.addEventListener(t,n,{passive:true});if(!i){se(C(o.parentNode),t,n,r)}r.push(o)}function le(e,t,n,r){n.updateBound=r;ae(e).addEventListener("resize",n.updateBound,{passive:true});var i=C(e);se(i,"scroll",n.updateBound,n.scrollParents);n.scrollElement=i;n.eventsEnabled=true;return n}function fe(){if(!this.state.eventsEnabled){this.state=le(this.reference,this.options,this.state,this.scheduleUpdate)}}function ue(e,t){ae(e).removeEventListener("resize",t.updateBound);t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)});t.updateBound=null;t.scrollParents=[];t.scrollElement=null;t.eventsEnabled=false;return t}function ce(){if(this.state.eventsEnabled){cancelAnimationFrame(this.scheduleUpdate);this.state=ue(this.reference,this.state)}}function he(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)}function de(e,t){Object.keys(t).forEach(function(n){var r="";if(["width","height","top","right","bottom","left"].indexOf(n)!==-1&&he(t[n])){r="px"}e.style[n]=t[n]+r})}function pe(e,t){Object.keys(t).forEach(function(n){var r=t[n];if(r!==false){e.setAttribute(n,t[n])}else{e.removeAttribute(n)}})}function ve(e){de(e.instance.popper,e.styles);pe(e.instance.popper,e.attributes);if(e.arrowElement&&Object.keys(e.arrowStyles).length){de(e.arrowElement,e.arrowStyles)}return e}function me(e,t,n,r,i){var o=X(i,t,e,n.positionFixed);var a=Y(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);t.setAttribute("x-placement",a);de(t,{position:n.positionFixed?"fixed":"absolute"});return n}function ge(e,t){var n=t.x,r=t.y;var i=e.offsets.popper;var o=$(e.instance.modifiers,function(e){return e.name==="applyStyle"}).gpuAcceleration;if(o!==undefined){console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!")}var a=o!==undefined?o:t.gpuAcceleration;var s=b(e.instance.popper);var l=V(s);var f={position:i.position};var u={left:Math.floor(i.left),top:Math.round(i.top),bottom:Math.round(i.bottom),right:Math.floor(i.right)};var c=n==="bottom"?"top":"bottom";var h=r==="right"?"left":"right";var d=ie("transform");var p=void 0,v=void 0;if(c==="bottom"){v=-l.height+u.bottom}else{v=u.top}if(h==="right"){p=-l.width+u.right}else{p=u.left}if(a&&d){f[d]="translate3d("+p+"px, "+v+"px, 0)";f[c]=0;f[h]=0;f.willChange="transform"}else{var m=c==="bottom"?-1:1;var g=h==="right"?-1:1;f[c]=v*m;f[h]=p*g;f.willChange=c+", "+h}var _={"x-placement":e.placement};e.attributes=x({},_,e.attributes);e.styles=x({},f,e.styles);e.arrowStyles=x({},e.offsets.arrow,e.arrowStyles);return e}function _e(e,t,n){var r=$(e,function(e){var n=e.name;return n===t});var i=!!r&&e.some(function(e){return e.name===n&&e.enabled&&e.order<r.order});if(!i){var o="`"+t+"`";var a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}function Ee(e,t){var n;if(!_e(e.instance.modifiers,"arrow","keepTogether")){return e}var r=t.element;if(typeof r==="string"){r=e.instance.popper.querySelector(r);if(!r){return e}}else{if(!e.instance.popper.contains(r)){console.warn("WARNING: `arrow.element` must be child of its popper element!");return e}}var i=e.placement.split("-")[0];var o=e.offsets,a=o.popper,s=o.reference;var l=["left","right"].indexOf(i)!==-1;var f=l?"height":"width";var u=l?"Top":"Left";var c=u.toLowerCase();var h=l?"left":"top";var d=l?"bottom":"right";var p=z(r)[f];if(s[d]-p<a[c]){e.offsets.popper[c]-=a[c]-(s[d]-p)}if(s[c]+p>a[d]){e.offsets.popper[c]+=s[c]+p-a[d]}e.offsets.popper=U(e.offsets.popper);var v=s[c]+s[f]/2-p/2;var m=y(e.instance.popper);var g=parseFloat(m["margin"+u],10);var _=parseFloat(m["border"+u+"Width"],10);var E=v-e.offsets.popper[c]-g-_;E=Math.max(Math.min(a[f]-p,E),0);e.arrowElement=r;e.offsets.arrow=(n={},M(n,c,Math.round(E)),M(n,h,""),n);return e}function Te(e){if(e==="end"){return"start"}else if(e==="start"){return"end"}return e}var ye=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"];var Ae=ye.slice(3);function Ce(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var n=Ae.indexOf(e);var r=Ae.slice(n+1).concat(Ae.slice(0,n));return t?r.reverse():r}var Ie={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Se(e,t){if(re(e.instance.modifiers,"inner")){return e}if(e.flipped&&e.placement===e.originalPlacement){return e}var n=q(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed);var r=e.placement.split("-")[0];var i=J(r);var o=e.placement.split("-")[1]||"";var a=[];switch(t.behavior){case Ie.FLIP:a=[r,i];break;case Ie.CLOCKWISE:a=Ce(r);break;case Ie.COUNTERCLOCKWISE:a=Ce(r,true);break;default:a=t.behavior}a.forEach(function(s,l){if(r!==s||a.length===l+1){return e}r=e.placement.split("-")[0];i=J(r);var f=e.offsets.popper;var u=e.offsets.reference;var c=Math.floor;var h=r==="left"&&c(f.right)>c(u.left)||r==="right"&&c(f.left)<c(u.right)||r==="top"&&c(f.bottom)>c(u.top)||r==="bottom"&&c(f.top)<c(u.bottom);var d=c(f.left)<c(n.left);var p=c(f.right)>c(n.right);var v=c(f.top)<c(n.top);var m=c(f.bottom)>c(n.bottom);var g=r==="left"&&d||r==="right"&&p||r==="top"&&v||r==="bottom"&&m;var _=["top","bottom"].indexOf(r)!==-1;var E=!!t.flipVariations&&(_&&o==="start"&&d||_&&o==="end"&&p||!_&&o==="start"&&v||!_&&o==="end"&&m);if(h||g||E){e.flipped=true;if(h||g){r=a[l+1]}if(E){o=Te(o)}e.placement=r+(o?"-"+o:"");e.offsets.popper=x({},e.offsets.popper,Z(e.instance.popper,e.offsets.reference,e.placement));e=te(e.instance.modifiers,e,"flip")}});return e}function Oe(e){var t=e.offsets,n=t.popper,r=t.reference;var i=e.placement.split("-")[0];var o=Math.floor;var a=["top","bottom"].indexOf(i)!==-1;var s=a?"right":"bottom";var l=a?"left":"top";var f=a?"width":"height";if(n[s]<o(r[l])){e.offsets.popper[l]=o(r[l])-n[f]}if(n[l]>o(r[s])){e.offsets.popper[l]=o(r[s])}return e}function be(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/);var o=+i[1];var a=i[2];if(!o){return e}if(a.indexOf("%")===0){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}var l=U(s);return l[t]/100*o}else if(a==="vh"||a==="vw"){var f=void 0;if(a==="vh"){f=Math.max(document.documentElement.clientHeight,window.innerHeight||0)}else{f=Math.max(document.documentElement.clientWidth,window.innerWidth||0)}return f/100*o}else{return o}}function De(e,t,n,r){var i=[0,0];var o=["right","left"].indexOf(r)!==-1;var a=e.split(/(\+|\-)/).map(function(e){return e.trim()});var s=a.indexOf($(a,function(e){return e.search(/,|\s/)!==-1}));if(a[s]&&a[s].indexOf(",")===-1){console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.")}var l=/\s*,\s*|\s+/;var f=s!==-1?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];f=f.map(function(e,r){var i=(r===1?!o:o)?"height":"width";var a=false;return e.reduce(function(e,t){if(e[e.length-1]===""&&["+","-"].indexOf(t)!==-1){e[e.length-1]=t;a=true;return e}else if(a){e[e.length-1]+=t;a=false;return e}else{return e.concat(t)}},[]).map(function(e){return be(e,i,t,n)})});f.forEach(function(e,t){e.forEach(function(n,r){if(he(n)){i[t]+=n*(e[r-1]==="-"?-1:1)}})});return i}function we(e,t){var n=t.offset;var r=e.placement,i=e.offsets,o=i.popper,a=i.reference;var s=r.split("-")[0];var l=void 0;if(he(+n)){l=[+n,0]}else{l=De(n,o,a,s)}if(s==="left"){o.top+=l[0];o.left-=l[1]}else if(s==="right"){o.top+=l[0];o.left+=l[1]}else if(s==="top"){o.left+=l[0];o.top-=l[1]}else if(s==="bottom"){o.left+=l[0];o.top+=l[1]}e.popper=o;return e}function Ne(e,t){var n=t.boundariesElement||b(e.instance.popper);if(e.instance.reference===n){n=b(n)}var r=ie("transform");var i=e.instance.popper.style;var o=i.top,a=i.left,s=i[r];i.top="";i.left="";i[r]="";var l=q(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=o;i.left=a;i[r]=s;t.boundaries=l;var f=t.priority;var u=e.offsets.popper;var c={primary:function e(n){var r=u[n];if(u[n]<l[n]&&!t.escapeWithReference){r=Math.max(u[n],l[n])}return M({},n,r)},secondary:function e(n){var r=n==="right"?"left":"top";var i=u[r];if(u[n]>l[n]&&!t.escapeWithReference){i=Math.min(u[r],l[n]-(n==="right"?u.width:u.height))}return M({},r,i)}};f.forEach(function(e){var t=["left","top"].indexOf(e)!==-1?"primary":"secondary";u=x({},u,c[t](e))});e.offsets.popper=u;return e}function Le(e){var t=e.placement;var n=t.split("-")[0];var r=t.split("-")[1];if(r){var i=e.offsets,o=i.reference,a=i.popper;var s=["bottom","top"].indexOf(n)!==-1;var l=s?"left":"top";var f=s?"width":"height";var u={start:M({},l,o[l]),end:M({},l,o[l]+o[f]-a[f])};e.offsets.popper=x({},a,u[r])}return e}function Pe(e){if(!_e(e.instance.modifiers,"hide","preventOverflow")){return e}var t=e.offsets.reference;var n=$(e.instance.modifiers,function(e){return e.name==="preventOverflow"}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(e.hide===true){return e}e.hide=true;e.attributes["x-out-of-boundaries"]=""}else{if(e.hide===false){return e}e.hide=false;e.attributes["x-out-of-boundaries"]=false}return e}function Re(e){var t=e.placement;var n=t.split("-")[0];var r=e.offsets,i=r.popper,o=r.reference;var a=["left","right"].indexOf(n)!==-1;var s=["top","left"].indexOf(n)===-1;i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0);e.placement=J(t);e.offsets.popper=U(i);return e}var He={shift:{order:100,enabled:true,fn:Le},offset:{order:200,enabled:true,fn:we,offset:0},preventOverflow:{order:300,enabled:true,fn:Ne,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:true,fn:Oe},arrow:{order:500,enabled:true,fn:Ee,element:"[x-arrow]"},flip:{order:600,enabled:true,fn:Se,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:false,fn:Re},hide:{order:800,enabled:true,fn:Pe},computeStyle:{order:850,enabled:true,fn:ge,gpuAcceleration:true,x:"bottom",y:"right"},applyStyle:{order:900,enabled:true,fn:ve,onLoad:me,gpuAcceleration:undefined}};var ke={placement:"bottom",positionFixed:false,eventsEnabled:true,removeOnDestroy:false,onCreate:function e(){},onUpdate:function e(){},modifiers:He};var We=function(){function e(t,n){var r=this;var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};W(this,e);this.scheduleUpdate=function(){return requestAnimationFrame(r.update)};this.update=E(this.update.bind(this));this.options=x({},e.Defaults,i);this.state={isDestroyed:false,isCreated:false,scrollParents:[]};this.reference=t&&t.jquery?t[0]:t;this.popper=n&&n.jquery?n[0]:n;this.options.modifiers={};Object.keys(x({},e.Defaults.modifiers,i.modifiers)).forEach(function(t){r.options.modifiers[t]=x({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(e){return x({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order});this.modifiers.forEach(function(e){if(e.enabled&&T(e.onLoad)){e.onLoad(r.reference,r.popper,r.options,e,r.state)}});this.update();var o=this.options.eventsEnabled;if(o){this.enableEventListeners()}this.state.eventsEnabled=o}F(e,[{key:"update",value:function e(){return ne.call(this)}},{key:"destroy",value:function e(){return oe.call(this)}},{key:"enableEventListeners",value:function e(){return fe.call(this)}},{key:"disableEventListeners",value:function e(){return ce.call(this)}}]);return e}();We.Utils=(typeof window!=="undefined"?window:global).PopperUtils;We.placements=ye;We.Defaults=ke;var Fe=function(e){var t="dropdown";var n="4.1.3";var i="bs.dropdown";var a="."+i;var l=".data-api";var f=e.fn[t];var u=27;var c=32;var h=9;var d=38;var p=40;var v=3;var m=new RegExp(d+"|"+p+"|"+u);var g={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,CLICK:"click"+a,CLICK_DATA_API:"click"+a+l,KEYDOWN_DATA_API:"keydown"+a+l,KEYUP_DATA_API:"keyup"+a+l};var _={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"};var E={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"};var T={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"};var y={offset:0,flip:true,boundary:"scrollParent",reference:"toggle",display:"dynamic"};var A={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"};var C=function(){function l(e,t){this._element=e;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var f=l.prototype;f.toggle=function t(){if(this._element.disabled||e(this._element).hasClass(_.DISABLED)){return}var n=l._getParentFromElement(this._element);var r=e(this._menu).hasClass(_.SHOW);l._clearMenus();if(r){return}var i={relatedTarget:this._element};var o=e.Event(g.SHOW,i);e(n).trigger(o);if(o.isDefaultPrevented()){return}if(!this._inNavbar){if(typeof We==="undefined"){throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)")}var a=this._element;if(this._config.reference==="parent"){a=n}else if(s.isElement(this._config.reference)){a=this._config.reference;if(typeof this._config.reference.jquery!=="undefined"){a=this._config.reference[0]}}if(this._config.boundary!=="scrollParent"){e(n).addClass(_.POSITION_STATIC)}this._popper=new We(a,this._menu,this._getPopperConfig())}if("ontouchstart"in document.documentElement&&e(n).closest(E.NAVBAR_NAV).length===0){e(document.body).children().on("mouseover",null,e.noop)}this._element.focus();this._element.setAttribute("aria-expanded",true);e(this._menu).toggleClass(_.SHOW);e(n).toggleClass(_.SHOW).trigger(e.Event(g.SHOWN,i))};f.dispose=function t(){e.removeData(this._element,i);e(this._element).off(a);this._element=null;this._menu=null;if(this._popper!==null){this._popper.destroy();this._popper=null}};f.update=function e(){this._inNavbar=this._detectNavbar();if(this._popper!==null){this._popper.scheduleUpdate()}};f._addEventListeners=function t(){var n=this;e(this._element).on(g.CLICK,function(e){e.preventDefault();e.stopPropagation();n.toggle()})};f._getConfig=function n(r){r=o({},this.constructor.Default,e(this._element).data(),r);s.typeCheckConfig(t,r,this.constructor.DefaultType);return r};f._getMenuElement=function e(){if(!this._menu){var t=l._getParentFromElement(this._element);if(t){this._menu=t.querySelector(E.MENU)}}return this._menu};f._getPlacement=function t(){var n=e(this._element.parentNode);var r=T.BOTTOM;if(n.hasClass(_.DROPUP)){r=T.TOP;if(e(this._menu).hasClass(_.MENURIGHT)){r=T.TOPEND}}else if(n.hasClass(_.DROPRIGHT)){r=T.RIGHT}else if(n.hasClass(_.DROPLEFT)){r=T.LEFT}else if(e(this._menu).hasClass(_.MENURIGHT)){r=T.BOTTOMEND}return r};f._detectNavbar=function t(){return e(this._element).closest(".navbar").length>0};f._getPopperConfig=function e(){var t=this;var n={};if(typeof this._config.offset==="function"){n.fn=function(e){e.offsets=o({},e.offsets,t._config.offset(e.offsets)||{});return e}}else{n.offset=this._config.offset}var r={placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};if(this._config.display==="static"){r.modifiers.applyStyle={enabled:false}}return r};l._jQueryInterface=function t(n){return this.each(function(){var t=e(this).data(i);var r=typeof n==="object"?n:null;if(!t){t=new l(this,r);e(this).data(i,t)}if(typeof n==="string"){if(typeof t[n]==="undefined"){throw new TypeError('No method named "'+n+'"')}t[n]()}})};l._clearMenus=function t(n){if(n&&(n.which===v||n.type==="keyup"&&n.which!==h)){return}var r=[].slice.call(document.querySelectorAll(E.DATA_TOGGLE));for(var o=0,a=r.length;o<a;o++){var s=l._getParentFromElement(r[o]);var f=e(r[o]).data(i);var u={relatedTarget:r[o]};if(n&&n.type==="click"){u.clickEvent=n}if(!f){continue}var c=f._menu;if(!e(s).hasClass(_.SHOW)){continue}if(n&&(n.type==="click"&&/input|textarea/i.test(n.target.tagName)||n.type==="keyup"&&n.which===h)&&e.contains(s,n.target)){continue}var d=e.Event(g.HIDE,u);e(s).trigger(d);if(d.isDefaultPrevented()){continue}if("ontouchstart"in document.documentElement){e(document.body).children().off("mouseover",null,e.noop)}r[o].setAttribute("aria-expanded","false");e(c).removeClass(_.SHOW);e(s).removeClass(_.SHOW).trigger(e.Event(g.HIDDEN,u))}};l._getParentFromElement=function e(t){var n;var r=s.getSelectorFromElement(t);if(r){n=document.querySelector(r)}return n||t.parentNode};l._dataApiKeydownHandler=function t(n){if(/input|textarea/i.test(n.target.tagName)?n.which===c||n.which!==u&&(n.which!==p&&n.which!==d||e(n.target).closest(E.MENU).length):!m.test(n.which)){return}n.preventDefault();n.stopPropagation();if(this.disabled||e(this).hasClass(_.DISABLED)){return}var r=l._getParentFromElement(this);var i=e(r).hasClass(_.SHOW);if(!i&&(n.which!==u||n.which!==c)||i&&(n.which===u||n.which===c)){if(n.which===u){var o=r.querySelector(E.DATA_TOGGLE);e(o).trigger("focus")}e(this).trigger("click");return}var a=[].slice.call(r.querySelectorAll(E.VISIBLE_ITEMS));if(a.length===0){return}var s=a.indexOf(n.target);if(n.which===d&&s>0){s--}if(n.which===p&&s<a.length-1){s++}if(s<0){s=0}a[s].focus()};r(l,null,[{key:"VERSION",get:function e(){return n}},{key:"Default",get:function e(){return y}},{key:"DefaultType",get:function e(){return A}}]);return l}();e(document).on(g.KEYDOWN_DATA_API,E.DATA_TOGGLE,C._dataApiKeydownHandler).on(g.KEYDOWN_DATA_API,E.MENU,C._dataApiKeydownHandler).on(g.CLICK_DATA_API+" "+g.KEYUP_DATA_API,C._clearMenus).on(g.CLICK_DATA_API,E.DATA_TOGGLE,function(t){t.preventDefault();t.stopPropagation();C._jQueryInterface.call(e(this),"toggle")}).on(g.CLICK_DATA_API,E.FORM_CHILD,function(e){e.stopPropagation()});e.fn[t]=C._jQueryInterface;e.fn[t].Constructor=C;e.fn[t].noConflict=function(){e.fn[t]=f;return C._jQueryInterface};return C}(t,We);var Me=function(e){var t="modal";var n="4.1.3";var i="bs.modal";var a="."+i;var l=".data-api";var f=e.fn[t];var u=27;var c={backdrop:true,keyboard:true,focus:true,show:true};var h={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"};var d={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,FOCUSIN:"focusin"+a,RESIZE:"resize"+a,CLICK_DISMISS:"click.dismiss"+a,KEYDOWN_DISMISS:"keydown.dismiss"+a,MOUSEUP_DISMISS:"mouseup.dismiss"+a,MOUSEDOWN_DISMISS:"mousedown.dismiss"+a,CLICK_DATA_API:"click"+a+l};var p={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"};var v={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"};var m=function(){function l(e,t){this._config=this._getConfig(t);this._element=e;this._dialog=e.querySelector(v.DIALOG);this._backdrop=null;this._isShown=false;this._isBodyOverflowing=false;this._ignoreBackdropClick=false;this._scrollbarWidth=0}var f=l.prototype;f.toggle=function e(t){return this._isShown?this.hide():this.show(t)};f.show=function t(n){var r=this;if(this._isTransitioning||this._isShown){return}if(e(this._element).hasClass(p.FADE)){this._isTransitioning=true}var i=e.Event(d.SHOW,{relatedTarget:n});e(this._element).trigger(i);if(this._isShown||i.isDefaultPrevented()){return}this._isShown=true;this._checkScrollbar();this._setScrollbar();this._adjustDialog();e(document.body).addClass(p.OPEN);this._setEscapeEvent();this._setResizeEvent();e(this._element).on(d.CLICK_DISMISS,v.DATA_DISMISS,function(e){return r.hide(e)});e(this._dialog).on(d.MOUSEDOWN_DISMISS,function(){e(r._element).one(d.MOUSEUP_DISMISS,function(t){if(e(t.target).is(r._element)){r._ignoreBackdropClick=true}})});this._showBackdrop(function(){return r._showElement(n)})};f.hide=function t(n){var r=this;if(n){n.preventDefault()}if(this._isTransitioning||!this._isShown){return}var i=e.Event(d.HIDE);e(this._element).trigger(i);if(!this._isShown||i.isDefaultPrevented()){return}this._isShown=false;var o=e(this._element).hasClass(p.FADE);if(o){this._isTransitioning=true}this._setEscapeEvent();this._setResizeEvent();e(document).off(d.FOCUSIN);e(this._element).removeClass(p.SHOW);e(this._element).off(d.CLICK_DISMISS);e(this._dialog).off(d.MOUSEDOWN_DISMISS);if(o){var a=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,function(e){return r._hideModal(e)}).emulateTransitionEnd(a)}else{this._hideModal()}};f.dispose=function t(){e.removeData(this._element,i);e(window,document,this._element,this._backdrop).off(a);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._scrollbarWidth=null};f.handleUpdate=function e(){this._adjustDialog()};f._getConfig=function e(n){n=o({},c,n);s.typeCheckConfig(t,n,h);return n};f._showElement=function t(n){var r=this;var i=e(this._element).hasClass(p.FADE);if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE){document.body.appendChild(this._element)}this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.scrollTop=0;if(i){s.reflow(this._element)}e(this._element).addClass(p.SHOW);if(this._config.focus){this._enforceFocus()}var o=e.Event(d.SHOWN,{relatedTarget:n});var a=function t(){if(r._config.focus){r._element.focus()}r._isTransitioning=false;e(r._element).trigger(o)};if(i){var l=s.getTransitionDurationFromElement(this._element);e(this._dialog).one(s.TRANSITION_END,a).emulateTransitionEnd(l)}else{a()}};f._enforceFocus=function t(){var n=this;e(document).off(d.FOCUSIN).on(d.FOCUSIN,function(t){if(document!==t.target&&n._element!==t.target&&e(n._element).has(t.target).length===0){n._element.focus()}})};f._setEscapeEvent=function t(){var n=this;if(this._isShown&&this._config.keyboard){e(this._element).on(d.KEYDOWN_DISMISS,function(e){if(e.which===u){e.preventDefault();n.hide()}})}else if(!this._isShown){e(this._element).off(d.KEYDOWN_DISMISS)}};f._setResizeEvent=function t(){var n=this;if(this._isShown){e(window).on(d.RESIZE,function(e){return n.handleUpdate(e)})}else{e(window).off(d.RESIZE)}};f._hideModal=function t(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",true);this._isTransitioning=false;this._showBackdrop(function(){e(document.body).removeClass(p.OPEN);n._resetAdjustments();n._resetScrollbar();e(n._element).trigger(d.HIDDEN)})};f._removeBackdrop=function t(){if(this._backdrop){e(this._backdrop).remove();this._backdrop=null}};f._showBackdrop=function t(n){var r=this;var i=e(this._element).hasClass(p.FADE)?p.FADE:"";if(this._isShown&&this._config.backdrop){this._backdrop=document.createElement("div");this._backdrop.className=p.BACKDROP;if(i){this._backdrop.classList.add(i)}e(this._backdrop).appendTo(document.body);e(this._element).on(d.CLICK_DISMISS,function(e){if(r._ignoreBackdropClick){r._ignoreBackdropClick=false;return}if(e.target!==e.currentTarget){return}if(r._config.backdrop==="static"){r._element.focus()}else{r.hide()}});if(i){s.reflow(this._backdrop)}e(this._backdrop).addClass(p.SHOW);if(!n){return}if(!i){n();return}var o=s.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(s.TRANSITION_END,n).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass(p.SHOW);var a=function e(){r._removeBackdrop();if(n){n()}};if(e(this._element).hasClass(p.FADE)){var l=s.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(s.TRANSITION_END,a).emulateTransitionEnd(l)}else{a()}}else if(n){n()}};f._adjustDialog=function e(){var t=this._element.scrollHeight>document.documentElement.clientHeight;if(!this._isBodyOverflowing&&t){this._element.style.paddingLeft=this._scrollbarWidth+"px"}if(this._isBodyOverflowing&&!t){this._element.style.paddingRight=this._scrollbarWidth+"px"}};f._resetAdjustments=function e(){this._element.style.paddingLeft="";this._element.style.paddingRight=""};f._checkScrollbar=function e(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()};f._setScrollbar=function t(){var n=this;if(this._isBodyOverflowing){var r=[].slice.call(document.querySelectorAll(v.FIXED_CONTENT));var i=[].slice.call(document.querySelectorAll(v.STICKY_CONTENT));e(r).each(function(t,r){var i=r.style.paddingRight;var o=e(r).css("padding-right");e(r).data("padding-right",i).css("padding-right",parseFloat(o)+n._scrollbarWidth+"px")});e(i).each(function(t,r){var i=r.style.marginRight;var o=e(r).css("margin-right");e(r).data("margin-right",i).css("margin-right",parseFloat(o)-n._scrollbarWidth+"px")});var o=document.body.style.paddingRight;var a=e(document.body).css("padding-right");e(document.body).data("padding-right",o).css("padding-right",parseFloat(a)+this._scrollbarWidth+"px")}};f._resetScrollbar=function t(){var n=[].slice.call(document.querySelectorAll(v.FIXED_CONTENT));e(n).each(function(t,n){var r=e(n).data("padding-right");e(n).removeData("padding-right");n.style.paddingRight=r?r:""});var r=[].slice.call(document.querySelectorAll(""+v.STICKY_CONTENT));e(r).each(function(t,n){var r=e(n).data("margin-right");if(typeof r!=="undefined"){e(n).css("margin-right",r).removeData("margin-right")}});var i=e(document.body).data("padding-right");e(document.body).removeData("padding-right");document.body.style.paddingRight=i?i:""};f._getScrollbarWidth=function e(){var t=document.createElement("div");t.className=p.SCROLLBAR_MEASURER;document.body.appendChild(t);var n=t.getBoundingClientRect().width-t.clientWidth;document.body.removeChild(t);return n};l._jQueryInterface=function t(n,r){return this.each(function(){var t=e(this).data(i);var a=o({},c,e(this).data(),typeof n==="object"&&n?n:{});if(!t){t=new l(this,a);e(this).data(i,t)}if(typeof n==="string"){if(typeof t[n]==="undefined"){throw new TypeError('No method named "'+n+'"')}t[n](r)}else if(a.show){t.show(r)}})};r(l,null,[{key:"VERSION",get:function e(){return n}},{key:"Default",get:function e(){return c}}]);return l}();e(document).on(d.CLICK_DATA_API,v.DATA_TOGGLE,function(t){var n=this;var r;var a=s.getSelectorFromElement(this);if(a){r=document.querySelector(a)}var l=e(r).data(i)?"toggle":o({},e(r).data(),e(this).data());if(this.tagName==="A"||this.tagName==="AREA"){t.preventDefault()}var f=e(r).one(d.SHOW,function(t){if(t.isDefaultPrevented()){return}f.one(d.HIDDEN,function(){if(e(n).is(":visible")){n.focus()}})});m._jQueryInterface.call(e(r),l,this)});e.fn[t]=m._jQueryInterface;e.fn[t].Constructor=m;e.fn[t].noConflict=function(){e.fn[t]=f;return m._jQueryInterface};return m}(t);var xe=function(e){var t="tooltip";var n="4.1.3";var i="bs.tooltip";var a="."+i;var l=e.fn[t];var f="bs-tooltip";var u=new RegExp("(^|\\s)"+f+"\\S+","g");var c={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"};var h={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"};var d={animation:true,template:'<div class="tooltip" role="tooltip">'+'<div class="arrow"></div>'+'<div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:false,selector:false,placement:"top",offset:0,container:false,fallbackPlacement:"flip",boundary:"scrollParent"};var p={SHOW:"show",OUT:"out"};var v={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,INSERTED:"inserted"+a,CLICK:"click"+a,FOCUSIN:"focusin"+a,FOCUSOUT:"focusout"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a};var m={FADE:"fade",SHOW:"show"};var g={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"};var _={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"};var E=function(){function l(e,t){if(typeof We==="undefined"){throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)")}this._isEnabled=true;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=e;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var E=l.prototype;E.enable=function e(){this._isEnabled=true};E.disable=function e(){this._isEnabled=false};E.toggleEnabled=function e(){this._isEnabled=!this._isEnabled};E.toggle=function t(n){if(!this._isEnabled){return}if(n){var r=this.constructor.DATA_KEY;var i=e(n.currentTarget).data(r);if(!i){i=new this.constructor(n.currentTarget,this._getDelegateConfig());e(n.currentTarget).data(r,i)}i._activeTrigger.click=!i._activeTrigger.click;if(i._isWithActiveTrigger()){i._enter(null,i)}else{i._leave(null,i)}}else{if(e(this.getTipElement()).hasClass(m.SHOW)){this._leave(null,this);return}this._enter(null,this)}};E.dispose=function t(){clearTimeout(this._timeout);e.removeData(this.element,this.constructor.DATA_KEY);e(this.element).off(this.constructor.EVENT_KEY);e(this.element).closest(".modal").off("hide.bs.modal");if(this.tip){e(this.tip).remove()}this._isEnabled=null;this._timeout=null;this._hoverState=null;this._activeTrigger=null;if(this._popper!==null){this._popper.destroy()}this._popper=null;this.element=null;this.config=null;this.tip=null};E.show=function t(){var n=this;if(e(this.element).css("display")==="none"){throw new Error("Please use show on visible elements")}var r=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(r);var i=e.contains(this.element.ownerDocument.documentElement,this.element);if(r.isDefaultPrevented()||!i){return}var o=this.getTipElement();var a=s.getUID(this.constructor.NAME);o.setAttribute("id",a);this.element.setAttribute("aria-describedby",a);this.setContent();if(this.config.animation){e(o).addClass(m.FADE)}var l=typeof this.config.placement==="function"?this.config.placement.call(this,o,this.element):this.config.placement;var f=this._getAttachment(l);this.addAttachmentClass(f);var u=this.config.container===false?document.body:e(document).find(this.config.container);e(o).data(this.constructor.DATA_KEY,this);if(!e.contains(this.element.ownerDocument.documentElement,this.tip)){e(o).appendTo(u)}e(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new We(this.element,o,{placement:f,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:g.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function e(t){if(t.originalPlacement!==t.placement){n._handlePopperPlacementChange(t)}},onUpdate:function e(t){n._handlePopperPlacementChange(t)}});e(o).addClass(m.SHOW);if("ontouchstart"in document.documentElement){e(document.body).children().on("mouseover",null,e.noop)}var c=function t(){if(n.config.animation){n._fixTransition()}var r=n._hoverState;n._hoverState=null;e(n.element).trigger(n.constructor.Event.SHOWN);if(r===p.OUT){n._leave(null,n)}};if(e(this.tip).hasClass(m.FADE)){var h=s.getTransitionDurationFromElement(this.tip);e(this.tip).one(s.TRANSITION_END,c).emulateTransitionEnd(h)}else{c()}}};E.hide=function t(n){var r=this;var i=this.getTipElement();var o=e.Event(this.constructor.Event.HIDE);var a=function t(){if(r._hoverState!==p.SHOW&&i.parentNode){i.parentNode.removeChild(i)}r._cleanTipClass();r.element.removeAttribute("aria-describedby");e(r.element).trigger(r.constructor.Event.HIDDEN);if(r._popper!==null){r._popper.destroy()}if(n){n()}};e(this.element).trigger(o);if(o.isDefaultPrevented()){return}e(i).removeClass(m.SHOW);if("ontouchstart"in document.documentElement){e(document.body).children().off("mouseover",null,e.noop)}this._activeTrigger[_.CLICK]=false;this._activeTrigger[_.FOCUS]=false;this._activeTrigger[_.HOVER]=false;if(e(this.tip).hasClass(m.FADE)){var l=s.getTransitionDurationFromElement(i);e(i).one(s.TRANSITION_END,a).emulateTransitionEnd(l)}else{a()}this._hoverState=""};E.update=function e(){if(this._popper!==null){this._popper.scheduleUpdate()}};E.isWithContent=function e(){return Boolean(this.getTitle())};E.addAttachmentClass=function t(n){e(this.getTipElement()).addClass(f+"-"+n)};E.getTipElement=function t(){this.tip=this.tip||e(this.config.template)[0];return this.tip};E.setContent=function t(){var n=this.getTipElement();this.setElementContent(e(n.querySelectorAll(g.TOOLTIP_INNER)),this.getTitle());e(n).removeClass(m.FADE+" "+m.SHOW)};E.setElementContent=function t(n,r){var i=this.config.html;if(typeof r==="object"&&(r.nodeType||r.jquery)){if(i){if(!e(r).parent().is(n)){n.empty().append(r)}}else{n.text(e(r).text())}}else{n[i?"html":"text"](r)}};E.getTitle=function e(){var t=this.element.getAttribute("data-original-title");if(!t){t=typeof this.config.title==="function"?this.config.title.call(this.element):this.config.title}return t};E._getAttachment=function e(t){return h[t.toUpperCase()]};E._setListeners=function t(){var n=this;var r=this.config.trigger.split(" ");r.forEach(function(t){if(t==="click"){e(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(e){return n.toggle(e)})}else if(t!==_.MANUAL){var r=t===_.HOVER?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN;var i=t===_.HOVER?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;e(n.element).on(r,n.config.selector,function(e){return n._enter(e)}).on(i,n.config.selector,function(e){return n._leave(e)})}e(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})});if(this.config.selector){this.config=o({},this.config,{trigger:"manual",selector:""})}else{this._fixTitle()}};E._fixTitle=function e(){var t=typeof this.element.getAttribute("data-original-title");if(this.element.getAttribute("title")||t!=="string"){this.element.setAttribute("data-original-title",this.element.getAttribute("title")||"");this.element.setAttribute("title","")}};E._enter=function t(n,r){var i=this.constructor.DATA_KEY;r=r||e(n.currentTarget).data(i);if(!r){r=new this.constructor(n.currentTarget,this._getDelegateConfig());e(n.currentTarget).data(i,r)}if(n){r._activeTrigger[n.type==="focusin"?_.FOCUS:_.HOVER]=true}if(e(r.getTipElement()).hasClass(m.SHOW)||r._hoverState===p.SHOW){r._hoverState=p.SHOW;return}clearTimeout(r._timeout);r._hoverState=p.SHOW;if(!r.config.delay||!r.config.delay.show){r.show();return}r._timeout=setTimeout(function(){if(r._hoverState===p.SHOW){r.show()}},r.config.delay.show)};E._leave=function t(n,r){var i=this.constructor.DATA_KEY;r=r||e(n.currentTarget).data(i);if(!r){r=new this.constructor(n.currentTarget,this._getDelegateConfig());e(n.currentTarget).data(i,r)}if(n){r._activeTrigger[n.type==="focusout"?_.FOCUS:_.HOVER]=false}if(r._isWithActiveTrigger()){return}clearTimeout(r._timeout);r._hoverState=p.OUT;if(!r.config.delay||!r.config.delay.hide){r.hide();return}r._timeout=setTimeout(function(){if(r._hoverState===p.OUT){r.hide()}},r.config.delay.hide)};E._isWithActiveTrigger=function e(){for(var t in this._activeTrigger){if(this._activeTrigger[t]){return true}}return false};E._getConfig=function n(r){r=o({},this.constructor.Default,e(this.element).data(),typeof r==="object"&&r?r:{});if(typeof r.delay==="number"){r.delay={show:r.delay,hide:r.delay}}if(typeof r.title==="number"){r.title=r.title.toString()}if(typeof r.content==="number"){r.content=r.content.toString()}s.typeCheckConfig(t,r,this.constructor.DefaultType);return r};E._getDelegateConfig=function e(){var t={};if(this.config){for(var n in this.config){if(this.constructor.Default[n]!==this.config[n]){t[n]=this.config[n]}}}return t};E._cleanTipClass=function t(){var n=e(this.getTipElement());var r=n.attr("class").match(u);if(r!==null&&r.length){n.removeClass(r.join(""))}};E._handlePopperPlacementChange=function e(t){var n=t.instance;this.tip=n.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(t.placement))};E._fixTransition=function t(){var n=this.getTipElement();var r=this.config.animation;if(n.getAttribute("x-placement")!==null){return}e(n).removeClass(m.FADE);this.config.animation=false;this.hide();this.show();this.config.animation=r};l._jQueryInterface=function t(n){return this.each(function(){var t=e(this).data(i);var r=typeof n==="object"&&n;if(!t&&/dispose|hide/.test(n)){return}if(!t){t=new l(this,r);e(this).data(i,t)}if(typeof n==="string"){if(typeof t[n]==="undefined"){throw new TypeError('No method named "'+n+'"')}t[n]()}})};r(l,null,[{key:"VERSION",get:function e(){return n}},{key:"Default",get:function e(){return d}},{key:"NAME",get:function e(){return t}},{key:"DATA_KEY",get:function e(){return i}},{key:"Event",get:function e(){return v}},{key:"EVENT_KEY",get:function e(){return a}},{key:"DefaultType",get:function e(){return c}}]);return l}();e.fn[t]=E._jQueryInterface;e.fn[t].Constructor=E;e.fn[t].noConflict=function(){e.fn[t]=l;return E._jQueryInterface};return E}(t,We);var Ue=function(e){var t="popover";var n="4.1.3";var i="bs.popover";var s="."+i;var l=e.fn[t];var f="bs-popover";var u=new RegExp("(^|\\s)"+f+"\\S+","g");var c=o({},xe.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip">'+'<div class="arrow"></div>'+'<h3 class="popover-header"></h3>'+'<div class="popover-body"></div></div>'});var h=o({},xe.DefaultType,{content:"(string|element|function)"});var d={FADE:"fade",SHOW:"show"};var p={TITLE:".popover-header",CONTENT:".popover-body"};var v={HIDE:"hide"+s,HIDDEN:"hidden"+s,SHOW:"show"+s,SHOWN:"shown"+s,INSERTED:"inserted"+s,CLICK:"click"+s,FOCUSIN:"focusin"+s,FOCUSOUT:"focusout"+s,MOUSEENTER:"mouseenter"+s,MOUSELEAVE:"mouseleave"+s};var m=function(o){a(l,o);function l(){return o.apply(this,arguments)||this}var m=l.prototype;m.isWithContent=function e(){return this.getTitle()||this._getContent()};m.addAttachmentClass=function t(n){e(this.getTipElement()).addClass(f+"-"+n)};m.getTipElement=function t(){this.tip=this.tip||e(this.config.template)[0];return this.tip};m.setContent=function t(){var n=e(this.getTipElement());this.setElementContent(n.find(p.TITLE),this.getTitle());var r=this._getContent();if(typeof r==="function"){r=r.call(this.element)}this.setElementContent(n.find(p.CONTENT),r);n.removeClass(d.FADE+" "+d.SHOW)};m._getContent=function e(){return this.element.getAttribute("data-content")||this.config.content};m._cleanTipClass=function t(){var n=e(this.getTipElement());var r=n.attr("class").match(u);if(r!==null&&r.length>0){n.removeClass(r.join(""))}};l._jQueryInterface=function t(n){return this.each(function(){var t=e(this).data(i);var r=typeof n==="object"?n:null;if(!t&&/destroy|hide/.test(n)){return}if(!t){t=new l(this,r);e(this).data(i,t)}if(typeof n==="string"){if(typeof t[n]==="undefined"){throw new TypeError('No method named "'+n+'"')}t[n]()}})};r(l,null,[{key:"VERSION",get:function e(){return n}},{key:"Default",get:function e(){return c}},{key:"NAME",get:function e(){return t}},{key:"DATA_KEY",get:function e(){return i}},{key:"Event",get:function e(){return v}},{key:"EVENT_KEY",get:function e(){return s}},{key:"DefaultType",get:function e(){return h}}]);return l}(xe);e.fn[t]=m._jQueryInterface;e.fn[t].Constructor=m;e.fn[t].noConflict=function(){e.fn[t]=l;return m._jQueryInterface};return m}(t);var Ve=function(e){var t="scrollspy";var n="4.1.3";var i="bs.scrollspy";var a="."+i;var l=".data-api";var f=e.fn[t];var u={offset:10,method:"auto",target:""};var c={offset:"number",method:"string",target:"(string|element)"};var h={ACTIVATE:"activate"+a,SCROLL:"scroll"+a,LOAD_DATA_API:"load"+a+l};var d={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"};var p={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"};var v={OFFSET:"offset",POSITION:"position"};var m=function(){function l(t,n){var r=this;this._element=t;this._scrollElement=t.tagName==="BODY"?window:t;this._config=this._getConfig(n);this._selector=this._config.target+" "+p.NAV_LINKS+","+(this._config.target+" "+p.LIST_ITEMS+",")+(this._config.target+" "+p.DROPDOWN_ITEMS);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;e(this._scrollElement).on(h.SCROLL,function(e){return r._process(e)});this.refresh();this._process()}var f=l.prototype;f.refresh=function t(){var n=this;var r=this._scrollElement===this._scrollElement.window?v.OFFSET:v.POSITION;var i=this._config.method==="auto"?r:this._config.method;var o=i===v.POSITION?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();var a=[].slice.call(document.querySelectorAll(this._selector));a.map(function(t){var n;var r=s.getSelectorFromElement(t);if(r){n=document.querySelector(r)}if(n){var a=n.getBoundingClientRect();if(a.width||a.height){return[e(n)[i]().top+o,r]}}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){n._offsets.push(e[0]);n._targets.push(e[1])})};f.dispose=function t(){e.removeData(this._element,i);e(this._scrollElement).off(a);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null};f._getConfig=function n(r){r=o({},u,typeof r==="object"&&r?r:{});if(typeof r.target!=="string"){var i=e(r.target).attr("id");if(!i){i=s.getUID(t);e(r.target).attr("id",i)}r.target="#"+i}s.typeCheckConfig(t,r,c);return r};f._getScrollTop=function e(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop};f._getScrollHeight=function e(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)};f._getOffsetHeight=function e(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height};f._process=function e(){var t=this._getScrollTop()+this._config.offset;var n=this._getScrollHeight();var r=this._config.offset+n-this._getOffsetHeight();if(this._scrollHeight!==n){this.refresh()}if(t>=r){var i=this._targets[this._targets.length-1];if(this._activeTarget!==i){this._activate(i)}return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}var o=this._offsets.length;for(var a=o;a--;){var s=this._activeTarget!==this._targets[a]&&t>=this._offsets[a]&&(typeof this._offsets[a+1]==="undefined"||t<this._offsets[a+1]);if(s){this._activate(this._targets[a])}}};f._activate=function t(n){this._activeTarget=n;this._clear();var r=this._selector.split(",");r=r.map(function(e){return e+'[data-target="'+n+'"],'+(e+'[href="'+n+'"]')});var i=e([].slice.call(document.querySelectorAll(r.join(","))));if(i.hasClass(d.DROPDOWN_ITEM)){i.closest(p.DROPDOWN).find(p.DROPDOWN_TOGGLE).addClass(d.ACTIVE);i.addClass(d.ACTIVE)}else{i.addClass(d.ACTIVE);i.parents(p.NAV_LIST_GROUP).prev(p.NAV_LINKS+", "+p.LIST_ITEMS).addClass(d.ACTIVE);i.parents(p.NAV_LIST_GROUP).prev(p.NAV_ITEMS).children(p.NAV_LINKS).addClass(d.ACTIVE)}e(this._scrollElement).trigger(h.ACTIVATE,{relatedTarget:n})};f._clear=function t(){var n=[].slice.call(document.querySelectorAll(this._selector));e(n).filter(p.ACTIVE).removeClass(d.ACTIVE)};l._jQueryInterface=function t(n){return this.each(function(){var t=e(this).data(i);var r=typeof n==="object"&&n;if(!t){t=new l(this,r);e(this).data(i,t)}if(typeof n==="string"){if(typeof t[n]==="undefined"){throw new TypeError('No method named "'+n+'"')}t[n]()}})};r(l,null,[{key:"VERSION",get:function e(){return n}},{key:"Default",get:function e(){return u}}]);return l}();e(window).on(h.LOAD_DATA_API,function(){var t=[].slice.call(document.querySelectorAll(p.DATA_SPY));var n=t.length;for(var r=n;r--;){var i=e(t[r]);m._jQueryInterface.call(i,i.data())}});e.fn[t]=m._jQueryInterface;e.fn[t].Constructor=m;e.fn[t].noConflict=function(){e.fn[t]=f;return m._jQueryInterface};return m}(t);var je=function(e){var t="tab";var n="4.1.3";var i="bs.tab";var o="."+i;var a=".data-api";var l=e.fn[t];var f={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,CLICK_DATA_API:"click"+o+a};var u={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"};var c={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"};var h=function(){function t(e){this._element=e}var o=t.prototype;o.show=function t(){var n=this;if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass(u.ACTIVE)||e(this._element).hasClass(u.DISABLED)){return}var r;var i;var o=e(this._element).closest(c.NAV_LIST_GROUP)[0];var a=s.getSelectorFromElement(this._element);if(o){var l=o.nodeName==="UL"?c.ACTIVE_UL:c.ACTIVE;i=e.makeArray(e(o).find(l));i=i[i.length-1]}var h=e.Event(f.HIDE,{relatedTarget:this._element});var d=e.Event(f.SHOW,{relatedTarget:i});if(i){e(i).trigger(h)}e(this._element).trigger(d);if(d.isDefaultPrevented()||h.isDefaultPrevented()){return}if(a){r=document.querySelector(a)}this._activate(this._element,o);var p=function t(){var r=e.Event(f.HIDDEN,{relatedTarget:n._element});var o=e.Event(f.SHOWN,{relatedTarget:i});e(i).trigger(r);e(n._element).trigger(o)};if(r){this._activate(r,r.parentNode,p)}else{p()}};o.dispose=function t(){e.removeData(this._element,i);this._element=null};o._activate=function t(n,r,i){var o=this;var a;if(r.nodeName==="UL"){a=e(r).find(c.ACTIVE_UL)}else{a=e(r).children(c.ACTIVE)}var l=a[0];var f=i&&l&&e(l).hasClass(u.FADE);var h=function e(){return o._transitionComplete(n,l,i)};if(l&&f){var d=s.getTransitionDurationFromElement(l);e(l).one(s.TRANSITION_END,h).emulateTransitionEnd(d)}else{h()}};o._transitionComplete=function t(n,r,i){if(r){e(r).removeClass(u.SHOW+" "+u.ACTIVE);var o=e(r.parentNode).find(c.DROPDOWN_ACTIVE_CHILD)[0];if(o){e(o).removeClass(u.ACTIVE)}if(r.getAttribute("role")==="tab"){r.setAttribute("aria-selected",false)}}e(n).addClass(u.ACTIVE);if(n.getAttribute("role")==="tab"){n.setAttribute("aria-selected",true)}s.reflow(n);e(n).addClass(u.SHOW);if(n.parentNode&&e(n.parentNode).hasClass(u.DROPDOWN_MENU)){var a=e(n).closest(c.DROPDOWN)[0];if(a){var l=[].slice.call(a.querySelectorAll(c.DROPDOWN_TOGGLE));e(l).addClass(u.ACTIVE)}n.setAttribute("aria-expanded",true)}if(i){i()}};t._jQueryInterface=function n(r){return this.each(function(){var n=e(this);var o=n.data(i);if(!o){o=new t(this);n.data(i,o)}if(typeof r==="string"){if(typeof o[r]==="undefined"){throw new TypeError('No method named "'+r+'"')}o[r]()}})};r(t,null,[{key:"VERSION",get:function e(){return n}}]);return t}();e(document).on(f.CLICK_DATA_API,c.DATA_TOGGLE,function(t){t.preventDefault();h._jQueryInterface.call(e(this),"show")});e.fn[t]=h._jQueryInterface;e.fn[t].Constructor=h;e.fn[t].noConflict=function(){e.fn[t]=l;return h._jQueryInterface};return h}(t);(function(e){if(typeof e==="undefined"){throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.")}var t=e.fn.jquery.split(" ")[0].split(".");var n=1;var r=2;var i=9;var o=1;var a=4;if(t[0]<r&&t[1]<i||t[0]===n&&t[1]===i&&t[2]<o||t[0]>=a){throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}})(t);e.Util=s;e.Alert=l;e.Button=f;e.Carousel=u;e.Collapse=c;e.Dropdown=Fe;e.Modal=Me;e.Popover=Ue;e.Scrollspy=Ve;e.Tab=je;e.Tooltip=xe;Object.defineProperty(e,"__esModule",{value:true})});